<template>
  <div>
    <p>父组件</p>
  <Son v-slot="slotProps">
     <p>儿子名字{{ slotProps. sonName}}</p>
  </Son>
  </div>
</template>

<script>
import Son from './Son.vue'
export default {
    components:{
        Son
    }

}
</script>

<style>

</style>